using System;
using System.Collections.Generic;
using System.Windows.Forms;
using PokerLearner.Poker;
using System.Globalization;

namespace PokerLearner.Server
{
	static class Program
	{
        /// The main entry point for the application.
		static void Main()
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
            MainWindow main = new MainWindow();

			PokerLogger.Instance.ReadRecords();

            Application.Run(main);

			PokerLogger.Instance.SaveRecords();
		}
	}
}